package ru.lukyanets.transmission.protocol.model.torrent;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Getter;
import lombok.Setter;

/**
 * @author slukyanets
 */
@SuppressWarnings({"unused", "WeakerAccess"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
        "fromCache",
        "fromDht",
        "fromIncoming",
        "fromLpd",
        "fromLtep",
        "fromPex",
        "fromTracker"
})
@Getter
@Setter
public class PeersFrom {

    @JsonProperty("fromCache")
    private int fromCache;
    @JsonProperty("fromDht")
    private int fromDht;
    @JsonProperty("fromIncoming")
    private int fromIncoming;
    @JsonProperty("fromLpd")
    private int fromLpd;
    @JsonProperty("fromLtep")
    private int fromLtep;
    @JsonProperty("fromPex")
    private int fromPex;
    @JsonProperty("fromTracker")
    private int fromTracker;
}
